<?php 
namespace Home\Model;
use Think\Model;
class VercodeModel extends Model {
		public function getOneVerify()
		{
			$sql = "select * from vercode order by rand() limit 1";
			$varcode = $this->query($sql);

			$varcode = current($varcode);

			$_SESSION['answer']=$varcode['answer'];
			// var_dump($varcode);exit;
			return $varcode['problem'];
		}


	}




 ?>